Skip to content

Add compatibility with Rails 7.2#165

Open
ledermann wants to merge 2 commits intotestdouble:mainfrom
ledermann:rails-7-2
Open

Add compatibility with Rails 7.2#165
ledermann wants to merge 2 commits intotestdouble:mainfrom
ledermann:rails-7-2

Conversation

@ledermann
Copy link
Copy Markdown

@ledermann ledermann commented Aug 14, 2024

Rails 7.2 has introduced connection pinning in rails/rails#50999 and removed the former method lock_thread=. This PR uses the new methods if they are available, otherwise the previous behavior remains. A deprecation warning is fixed as well.

Resolves #164

rosston added a commit that referenced this pull request Sep 25, 2024
Taken from #165, hence
the coauthor credit.

Co-authored-by: Georg Ledermann <georg@ledermann.dev>
@rosston rosston self-assigned this Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incompatible with Rails 7.2

2 participants